﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Workflow2211A.Consol.Steps;
using WorkflowCore.Interface;

namespace Workflow2211A.Consol.Workflows
{
    public class WaitForWorkflow : IWorkflow
    {
        public string Id => nameof(WaitForWorkflow);

        public int Version => 1;

        public void Build(IWorkflowBuilder<object> builder)
        {
            builder.StartWith<StartStep>()
                   .Then<WaitForStep>()
                   .Then<EndStep>();
        }
    }
}
